﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpObjects.SearchEngine.HtmlParsing.Html
{
    class HtmlStyleTag : HtmlContainerTag
    {
        public const string TagName = "style";
        public override string Name { get { return TagName; } set { } }

        public HtmlStyleTag(HtmlGenericTag tag = null)
            : base(tag)
        {
        }

        public static HtmlTag CreateInstance(HtmlGenericTag tag)
        {
            return new HtmlStyleTag(tag);
        }

        public override string ToString()
        {
            return string.Format("{0}:", TagName);
        }
    }
}
